﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NailManager
{
    public partial class UserForm : Form
    {
        Point LetfTop = new Point(15,150);
        Panel LeftPanel = new Panel();
        Panel RightPanel = new Panel();
        MenuButton bt = new MenuButton();
        CustomerForm CForm = new CustomerForm();

        public UserForm()
        {
            InitializeComponent();
        }

        private void UserForm_Load(object sender, EventArgs e)
        {
            this.BackColor = Color.FromArgb(149,179,215);

            LeftPanel.BackColor = Color.WhiteSmoke;
            LeftPanel.BorderStyle = BorderStyle.FixedSingle;
            LeftPanel.Size = new Size(200,630);
            LeftPanel.Location = LetfTop;
            this.Controls.Add(LeftPanel);

            bt.Location = new Point(12,10);
            LeftPanel.Controls.Add(bt);

            RightPanel.BackColor = Color.WhiteSmoke;
            RightPanel.BorderStyle = BorderStyle.FixedSingle;
            RightPanel.Size = new Size(900,630);
            RightPanel.Location = new Point(LetfTop.X + LeftPanel.Size.Width + 20,LetfTop.Y);
            this.Controls.Add(RightPanel);
            RightPanel.Controls.Add(CForm);

        }
    }
}
